Conversation
|
OS: MacOS 10.14.6 With the latest version of this PR against bleak 0.6.1 I got the same issue as on the master branch: "Bluetooth device is turned off". However. Updating to the recently released 0.7.1 changes the issue at hand. When running examples/demo.py it does not recognise the Move Hub, so it shows the: ... until timeout. Changing back to the master branch gives the following log: INFO:root:Trying get_connection_bluepy After the last line, demo.py simply hangs. |
|
I have just tried with master branch on my Linux with bleak 0.7.1, and demo.py worked fine for me. This PR version does not work, still. What I've noticed, is that I have to make sure hub is shut down before each attempt. Otherwise it sometimes "still connected to PC" and does not react to commands. |
|
When debugging, you need to set logging level to DEBUG and also make use of bleak connection, instead of default autodetector. |
@LasseD , did you get to resolve this? I'm running into a similar issue. |
|
No. Unfortunately I have not solved it. My approach has been to try to find a python library that would work with any of the LEGO peripherals (Powered Up, SBrick, PFx Brick) every single one of them and their branches fail on Mac. I am seriously considering investing in a Raspberry PI just to see if anything will work. |

No description provided.